vm_event: Add a new opcode to get VM_EVENT_INTERFACE_VERSION
authorPetre Pircalabu <ppircalabu@bitdefender.com>
Thu, 14 Feb 2019 14:18:11 +0000 (16:18 +0200)
committerWei Liu <wei.liu2@citrix.com>
Tue, 12 Mar 2019 12:57:13 +0000 (12:57 +0000)
commitd48e1836074cec0d2b7dd11f7ffce716bdf7cbcb
treebdf285d80291fc9bc5c1c88c8ff7d477fed1e607
parent91c3e3dc91d614d3385d69d03e2dbefbe8abced4
vm_event: Add a new opcode to get VM_EVENT_INTERFACE_VERSION

Currently, the VM_EVENT_INTERFACE_VERSION is determined at runtime, by
inspecting the corresponding field in a vm_event_request. This helper
opcode will query the hypervisor supported version before the vm_event
related structures and layout are set-up.

Signed-off-by: Petre Pircalabu <ppircalabu@bitdefender.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Tamas K Lengyel <tamas@tklengyel.com>
tools/libxc/include/xenctrl.h
tools/libxc/xc_vm_event.c
xen/common/domctl.c
xen/common/vm_event.c
xen/include/public/domctl.h